<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title> for문 </title>
<script>
for(var i=0; i<5 ;i++) {
     document.write( i );
}
</script>
</head>
<body>
</body>
</html>
